kjq = {
    
    utils : {
        isDate : function(obj) {
            return Object.prototype.toString.call(obj) == '[object Date]';
        },
    
        getOptions: function(allBindingsAccessor){
            return allBindingsAccessor().controllOptions || {};
        },
    
        getRandomElementId: function(a){
            return a?(a^Math.random()*16>>a/4).toString(16):([1e7]+-1e3).replace(/[018]/g,kjq.utils.getRandomElementId);
        },
    
        getItemIndexInList: function(tab, elem){
            var index = -1;
            for(var x in tab){
                index++;
                if(tab[x]==elem){
                    break;
                }
            }
            return index;
        },
        
        addObjectOneAttributeToObjectTwoo: function(objOne, objTwo){
            for(var x in objOne){
                objTwo[x]=objOne[x];
            }
        }
    },
    
    app : {
        mask : function(msg){
            $('body').mask(msg);
        },
        unmask : function(){
            $('body').unmask();
        }
    }
}
